package com.bgds.sys.module.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 设备静态属性
 * </p>
 *
 * @author lj
 * @since 2020-01-06
 */
@TableName("bgds_device_static_attr")
@Data
@ApiModel(value = "设备静态属性")

public class DeviceStaticAttr implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    @ApiModelProperty(value = "唯一标识（自增长）",dataType = "Integer")
    private Long id;

    /**
     * 设备编码
     */
    @TableField("device_code")
    @ApiModelProperty(value = "设备编码")
    private String deviceCode;



    /**
     * 名称
     */
    @TableField("name")
    @ApiModelProperty(value = "名称")
    private String name;


    /**
     * 值
     */
    @TableField("value")
    @ApiModelProperty(value = "值")
    private String value;


;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;



    @Override
    public String toString() {
        return "DeviceStaticAttr{" +
        "id=" + id +
        ", deviceCode=" + deviceCode +
        ", name=" + name +
        ", value=" + value +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
